/*
 * Socket.h
 *
 *  Created on: Oct 26, 2012
 *      Author: lucas
 */

#ifndef SOCKET_H_
#define SOCKET_H_

class Socket {
private:
protected:
	int sockfd;
	bool validSocket;
	Socket();
	explicit Socket(int sockfd);
public:
	bool isValid();
	void cerrar();
	virtual void shutDown();
	virtual ~Socket();
};

#endif /* SOCKET_H_ */
